/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.qframe.client.error;

/**
 *
 * @author gprasad
 */
public class TemplateConfigError extends RuntimeException {

    public static enum ErrorCodes {
    }

    public TemplateConfigError() {
    }

    public TemplateConfigError(String message) {
        super(message);
    }

    public TemplateConfigError(String message, Throwable th) {
        super(message, th);
    }

    public static void throwIf(boolean expression, String message) {
        if (expression) {
            throw new TemplateConfigError(message);
        }
    }
}
